package com.tyl.mapper;

import com.tyl.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface UserMapper {

    public List<User> queryAllUser();

    public User queryByIdUser(int Id);

    public int addUser(User user);

    public int updateUser(User user);

    public int deleteUser(int Id);
}
